//
//  ZBAppLifecycleManager.h
//  ZBPlatform
//
//  Created by xzb on 2018/10/9.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface ZBAppLifecycleManager : UIResponder <UIApplicationDelegate>

+ (instancetype)sharedInstance;
    
+ (void)registerAllLib;

- (void)registerModule:(NSString *)moduleName config:(NSDictionary *)config;

- (void)addModule:(NSString *)moduleName;

- (void)enumerateModulesUsingBlock:(__attribute__((noescape)) void (^)(id module, BOOL *stop))block;

@end

NS_ASSUME_NONNULL_END
